package testy;

import static org.junit.Assert.*;

import org.junit.Test;

import gra.Player;
import gra.Human;
import gra.Card;

public class HumanTest 
{

	@Test
	public void test()
	{
		Player gracz = new Human("Gracz");
		assertNotNull(gracz);
	}
	
	@Test(expected = NullPointerException.class)
	public void testOperacja()
	{
	    Player gracz = new Human("Gracz");
	    int rank =9;
	    Card[] temp = new Card[5];
	    gracz.operacja(rank,temp);
	}

}
